Notes: This uses MSE (mean of squared residuals). The unique minimizer is (m*, b*) = (0.500, 0.900). Move the sliders to change (m,b). The left subplot shows the J(m,b) contours and current (m,b) point; the right subplot shows the data and the line y=mx+b.